package org.dromara.common.heweather.constant;

/**
 * 缓存接口
 * @Author: Stars
 * @Date: 2025/3/20 21:59
 */
public interface CacheConstants {

    /**
     * 实时天气
     */
    String CACHE_WEATHER_NOW_KEY = "cache_weather_now_key:";

    /**
     * 城市搜索
     */
    String CACHE_CITY_SEARCH_KEY = "cache_city_search_key:";

    /**
     * 每日天气预报
     */
    String CACHE_DAILY_WEATHER_FORECAST_KEY = "cache_daily_weather_forecast_key:";

    /**
     * 逐小时天气预报
     */
    String CACHE_HOURLY_WEATHER_FORECAST_KEY = "cache_hourly_weather_forecast_key:";

    /**
     * 天气指数
     */
    String CACHE_WEATHER_INDEX_KEY = "cache_weather_index_key:";

    /***
     * 用户IP
     */
    String CACHE_USER_IP_LOCATION_KEY = "CACHE_USER_IP_LOCATION_KEY:";

}
